#!/usr/bin/env bash

set -e

cd "$(dirname "$0")/.."

find . -name "*.kt" -not -path "./buildSrc/build/*" -print0 | xargs -0 -r ktfmt --kotlinlang-style "$@"
